package com.lingshi.common.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lingshi.common.entity.Brand;

import java.util.List;


public interface IBrandService {


    List<Brand> findAll();

    void add(Brand brand);

    void update(Brand brand);

    void delete(Long id);

    Page<Brand> search(Brand brand, int page, int size);

    Brand findById(Long id);
}
